import 'package:flutter/material.dart';

class AdvertisementPage extends StatelessWidget {
  final String imageUrl;

  const AdvertisementPage(
    this.imageUrl, {
    Key key,
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      padding: EdgeInsets.only(top: 10.0, left: 10, right: 10.0),
      width: MediaQuery.of(context).size.width,
      height: 80.0,
      child: Image.network(
        'http://r0utoyzux.hn-bkt.clouddn.com/adv.jpg',
        fit: BoxFit.fill,
      ),
    );
  }
}
